Skip to content

Conversation

@andreiborza
Copy link
Member

The flush timeout was being reset on every incoming log, preventing flushes when logs arrived continuously. Now, the timer starts on the first log won't get reset, ensuring logs flush within the configured interval.

Backport of: #18211

@github-actions
Copy link
Contributor

github-actions bot commented Nov 14, 2025

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 23.79 kB - -
@sentry/browser - with treeshaking flags 22.36 kB - -
@sentry/browser (incl. Tracing) 39.66 kB - -
@sentry/browser (incl. Tracing, Replay) 77.93 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.71 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 82.63 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 94.76 kB - -
@sentry/browser (incl. Feedback) 40.48 kB - -
@sentry/browser (incl. sendFeedback) 28.48 kB - -
@sentry/browser (incl. FeedbackAsync) 33.37 kB - -
@sentry/react 25.55 kB - -
@sentry/react (incl. Tracing) 41.62 kB - -
@sentry/vue 28.24 kB - -
@sentry/vue (incl. Tracing) 41.45 kB - -
@sentry/svelte 23.81 kB - -
CDN Bundle 25.18 kB - -
CDN Bundle (incl. Tracing) 39.42 kB - -
CDN Bundle (incl. Tracing, Replay) 75.55 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 81.02 kB - -
CDN Bundle - uncompressed 73.45 kB - -
CDN Bundle (incl. Tracing) - uncompressed 116.86 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 231.75 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 244.56 kB - -
@sentry/nextjs (client) 43.66 kB - -
@sentry/sveltekit (client) 40.08 kB - -
@sentry/node 169.4 kB +0.02% +27 B 🔺
@sentry/node - without tracing 100.54 kB +0.03% +29 B 🔺
@sentry/aws-serverless 128.7 kB +0.03% +28 B 🔺

View base workflow run

andreiborza added a commit that referenced this pull request Nov 17, 2025
…ous logging (#18211)

The flush timeout was being reset on every incoming log, preventing
flushes when logs arrived continuously. Now, the timer starts on the
first log and won't get reset, ensuring logs flush within the configured
interval.

Fixes #18204, getsentry/sentry-react-native#5378

v9 backport: #18214
The flush timeout was being reset on every incoming log, preventing flushes when
logs arrived continuously. Now, the timer starts on the first log won't
get reset, ensuring logs flush within the configured interval.

Backport of: #18211
@andreiborza andreiborza force-pushed the ab/v9-fix-log-flush-delaying branch from b77c631 to 44be767 Compare November 17, 2025 13:16
@andreiborza andreiborza merged commit 7efa3f4 into v9 Nov 17, 2025
160 of 168 checks passed
@andreiborza andreiborza deleted the ab/v9-fix-log-flush-delaying branch November 17, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants